const packageJson = require('../package.json');
const token ='eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJhdWQiOlsiYXBpIl0sImNvcnBJZCI6bnVsbCwidXNlcl9pZCI6IjViOTNkZTEwMzFlODQ2MzdiMDdiOTE4NTU4NzgzNmE5IiwidXNlcl9uYW1lIjoiMDEzNjEyMzc1NTI0MjYwNjY4MjUiLCJzY29wZSI6WyJyZWFkIl0sIm1vYmlsZSI6ZmFsc2UsImlzQWRtaW4iOnRydWUsImV4cCI6MTc0MjgxMDQ1MCwiaXNBcHBBZG1pbiI6ZmFsc2UsImF1dGhvcml0aWVzIjpbIlVTRVIiLCJBVVRIX1NZU1RFTV9NQU5BR0UiXSwianRpIjoiMGU1Y2M0NTctYjI1OS00NzFkLWIwNTctYmUyNGViN2EzOTZkIiwiY2xpZW50X2lkIjoiYXBpIn0.gr45nLl-jUV1AAJrBEhFlCOusFRJz1UmHvriZXCZp0qgwGmTVl_WSeJKyiwV4F3_ACkv1sH2WAVW7ZAoU6dk2WdvwL3ROtdBMil7SfNAXoTxvx6iharIWeK1WPEE3sfyqRro3GqN-xlbfh_QXGxuAVb-sGOH8Wf6usfpg6_Y2U0'
const setDevToken = () => {
    if(process.env.NODE_ENV === 'development') {
        localStorage.setItem('token', token);
    }
}
console.log(`%cfrontendVersion:${packageJson.version}`, 'color: green;font-size: 16px');

//设置开发环境token
module.exports = setDevToken;
